package com.lzq.chatroom_project.service;

import com.lzq.chatroom_project.model.AddFriendRequest;
import com.lzq.chatroom_project.model.Friend;

import java.util.List;

public interface IFriendService {
    List<Friend> getFriendListById(Integer userId);

    List<Friend> findFriend(Integer userId, String name);

    void addFriendRequest(int userId, int friendId, String reason);

    List<AddFriendRequest> getFriendRequest(int userId);

    void deleteFriendRequest(int friendId, int userId);

    void addFriend(int friendId, int userId,String friendName,String userName);

    void updateFriendNickname(int friendId, int userId, String friendNickname);
}
